package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.CommentChangeBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/4/17.
 */
@HttpInlet(Conn.COMMENT_CHANGE)
public class ConnCommentChange extends BaseAsyPost<CommentChangeBean> {

    public String evaluate_id;


    public ConnCommentChange(String evaluate_id, AsyCallBack<CommentChangeBean> asyCallBack) {
        super(asyCallBack);
        this.evaluate_id = evaluate_id;
    }

    @Override
    protected CommentChangeBean parser(JSONObject object) throws Exception {
        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");

        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");

        Gson gson = new Gson();

        CommentChangeBean loginBean = new CommentChangeBean();

        loginBean = gson.fromJson(object.toString(), CommentChangeBean.class);


        return loginBean;


    }
}



